<?php
declare (strict_types=1);

namespace app\common\http\middleware;

use Webman\Http\Request;
use Webman\Http\Response;
use Webman\MiddlewareInterface;

/**
 * 基础中间件
 * Class LikeShopMiddleware
 * @package app\common\http\middleware
 */
class BaseMiddleware implements MiddlewareInterface
{
    public function process(Request $request, callable $handler): Response
    {
        return $handler($request);
    }
}